
#ifndef DESIGN_PATTERNS_FLYWEIGHT_PIECE_H
#define DESIGN_PATTERNS_FLYWEIGHT_PIECE_H

#include "Chessboard.h"
#include "Point.h"

/**
 * 0 代表白棋
 * * 代表黑棋
 */
class Piece
{
public:
  virtual void DownPiece(const Point& p, Chessboard& c) = 0;

  virtual ~Piece() = default;
};

#endif //DESIGN_PATTERNS_FLYWEIGHT_PIECE_H
